<?php
session_start();
if(isset($_GET["language"])){
	$_SESSION["language"] = $_GET["language"];
}

if(isset($_SESSION["language"])){
	include $_SESSION["language"].".php";
}
else{
	$_SESSION["language"] = "zh";
	include "zh.php";
}

if(!isset($_SESSION['login_user'])){
	$_SESSION['login_user']="GUEST";
	$_SESSION['type'] = 2;
	header("Location: ../page/login.php");
}
$login_session=$_SESSION['login_user'];
$user_type = $_SESSION['type'];
?>